<?php

namespace app\attachment\model;

use app\admin\model\Data;
use think\model\concern\SoftDelete;

/**
 * 附件模型
 */
class Attachment extends Data
{
    /**
     * 软删除
     */
    use SoftDelete;
    protected $deleteTime = 'delete_time';
    protected $defaultSoftDelete = 0;

    /**
     * 数据表名称
     * @var string
     */
    protected $name = 'attachment';

    /**
     * 自动写入时间戳
     * @var bool
     */
    protected $autoWriteTimestamp = true;
}
